package ru.spbsu.electromenu.serialization;

import ru.spbsu.electromenu.model.*;

import java.util.List;

/**
 * Date: 3/22/11
 * Time: 11:35 PM
 *
 * @author Artem Titov
 */
public interface Serializer {
    String serializeDish(final Dish dish) throws SerializationException;

    String serializeTag(final Tag tag) throws SerializationException;

    String serializeMenu(final List<Dish> dishes, final List<Tag> tags, final List<Table> tables) throws SerializationException;

    String serializeSession(final Session session) throws SerializationException;

    String serializeOrder(final Order order) throws SerializationException;
}
